/** When your routing table is too long, you can split it into small modules **/

import Layout from "@/layout";
import AppMain from "@/layout/components/AppMain.vue";
import componentsRouter from "./components";
import chartsRouter from "./charts";
const systemManagement = {
  path: "/databaseManagement",
  component: Layout,
  redirect: "/databaseManagement/weather",
  name: "databaseManagement",
  meta: {
    title: "服务器管理",
    icon: "tab",
  },
  children: [
    {
      path: "/tableMangement",
      component: () => import("@/views/databaseManagement/tableMangement"),
      name: "Icons",
      meta: {
        title: "数据库",
        icon: "excel",
        noCache: true,
      },
    },

    {
      path: "/file",
      component: () => import("@/views/databaseManagement/file"),
      name: "Icons",
      meta: {
        title: "文件",
        icon: "excel",
        noCache: true,
      },
    },

    {
      path: "/gitList",
      component: () => import("@/views/databaseManagement/gitList"),
      name: "Icons",
      meta: {
        title: "gitee仓库",
        icon: "excel",
        noCache: true,
      },
    },

    {
      path: "/dataPanel",
      component: () => import("@/views/databaseManagement/dataPanel"),
      name: "Icons",
      meta: {
        title: "数据面板",
        icon: "chart",
        noCache: true,
      },
    },
  ],
};
export default systemManagement;
